﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using System.IO;
public partial class Controls_OnlineSupport : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    //load data
    public void LoadData() {
        try {
            string fname = Server.MapPath(Setting.PathContact);
            if(!File.Exists(fname)) {
                return;
            }
            XmlDocument doc = new XmlDocument();
            doc.Load(fname);
            XmlNode root = doc.DocumentElement;
            XmlNodeList list = root.ChildNodes;
            //footer.InnerHtml = Server.HtmlDecode(list.Item(0).InnerText);
        } catch(Exception ex) {

        }
    }
}